Introduction

Magento is an open-source eCommerce platform that is extremely easy to use. Nearly 16% of the top eCommerce web resources operate exactly on this CMS. Online merchants choose Magento because:

  • It is easy to install and modify according to your purposes and tastes.
  • It is an open-source technology that helps to find flexible eCommerce solutions.
  • It is able to save your money.
  • It offers nearly 50 payment gateways.

If you want to speed up your Magento online store, try to use a CDN service. Find the detailed instructions how to integrate CDN with Magento below.

Before you start

  1. Since we will use the Cname address next, please ensure that you have configured the CDN resources on the console .
  2. If you want to integrate a CDN service on https:// pages, you must ensure that SSL is enabled on the console.
  3. If your website has embedded custom fonts, please confirm that you have enabled the CORS headers in the LightCDN console.

Integration approach

Enable CDN in Magento using CDN for Magento PLUGIN

  1. Login to the Magento Admin Panel.
  2. Navigate to Magento Admin -> Configuration -> Web -> Unsecure.
  3. Update the following with the CDN URL(eg, cdn.magento.com):
    1. Base Media URL: cdn.yourmagento.com/media/
    2. Base Javascript URL: cdn.yourmagento.com/js/
  4. Click Save to update the changes.
  5. Then Navigate to Magento Admin -> Configuration -> Current Configuration Scope: Main Website -> Web -> Unsecure -> Base Skin URL.
  6. Uncheck Use Default for the Base Skin URL.
  7. Update Base Skin URL:
    1. Base Skin URL: cdn.yourmagento.com/skin/
  8. Click Save to update the changes.

Verification

Verify if your Magento is on CDN by viewing the HTML source code. Image links shall be replaced with CDN URLs.

LightCDN all right reserved,powered by GitbookUpdated Time: 2023-10-08 11:29:56

results matching ""

    No results matching ""